﻿<UserControl x:Class="PiviotViewerSLViewer.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:pivot="clr-namespace:System.Windows.Controls.Pivot;assembly=System.Windows.Controls.Pivot"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="21"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Center" Background="#FFFFF2F2" Height="21">
            <Button x:Name="BackButton" Content="B"/>
            <Button x:Name="ForwardButton" Content="F"/>
            <Button x:Name="DescriptionButton" Content="?" Visibility="Collapsed"/>
            <TextBlock x:Name="TitleTextBox" VerticalAlignment="Center" Margin="5,0,0,0"/>
        </StackPanel>
        <pivot:PivotViewer x:Name="PViewer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Loaded="PVLoaded" Margin="0" Grid.RowSpan="1" Grid.Row="1" MinWidth="400" />
    </Grid>
</UserControl>
